
#include <BThread>
#include <BViewer>
#include <BCube>
#include <BCone>
#include <BSphere>
#include <BCylinder>
#include <BSurface>
#include <BCamera>
#include <BLight>
#include <BScene>
#include <BMainWindow>
#include <BReadWrite>
#include <BApplication>

using namespace BWE;

int main(int argc, char** argv)
{
	BApplication app;

	BScene* scene = new BScene();

	BCamera* camera = new BCamera();
	camera->setPosition(-30, -30, 30);
	camera->setCenter(0, 0, 0);

	BViewer* viewer = new BViewer();
	viewer->setCamera(camera);
	viewer->setScene(scene);

	BMainWindow* window = new BMainWindow(argv[0]);

	return app.execute();
}
